<div class="panel">
<?
	echo $change_username_errors;
	echo form_open('guardian/change_password/'.$hash);
?>
	<p class="lead-title">Change Password</p>
	<div class="row">

		<div class="large-6 columns">
			<label for="old_password">Old Password</label>
			<?php echo form_password('old_password',set_value('old_password')); ?>
        </div>
        <div class="clearfix"></div>
		<div class="large-6 columns">
			<label for="new_password">New Password</label>
            <?php echo form_password('new_password',set_value('new_password'));?>
        </div>

		
		<div class="large-6 columns">
			<label for="c_new_password">Confirm New Password</label>
            <?php echo form_password('c_new_password',set_value('c_new_password'));?>
        </div>
		<hr class="clearfix">
		<div class="large-6 columns">
            <?php echo form_submit('change_password', 'Save New Password','class="btn btn-success"');?>
            <input type="hidden" name="jhhd_loc" value="<?=$hash;?>">
        </div>
	</div>

<?php
echo form_close();
?>
</div>
<!--
<div class="panel">
<?
	echo $change_username_errors;
	echo form_open('guardian/change_password/'.$hash);
?>
	<p class="lead-title">Change username</p>
	<div class="row">
		<div class="large-6 columns">
			<label for="old_password">New Username</label>
			<input type="text" name="new_username" placeholder="Your new Username">
        </div>

		<div class="large-6 columns">
			<label for="old_password">Confirm Username</label>
			<input type="text" name="c_new_username"  placeholder="Confirm Your new Username">
        </div>
		
		<div class="large-6 columns">
			<label for="old_password">Password</label>
			<input type="password" name="user_password"  placeholder="Your Current Password">
        </div>
		<hr class="clearfix">
		<div class="large-6 columns">
            <input type="hidden" name="jhhd_loc" value="<?=$hash;?>">
            <input type="submit" name="change_parent_login_username" value="Change Username" class="btn btn-primary">
        </div>
	</div>

<?php
echo form_close();
?>
</div>
-->